home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat4 / pkgmap.z / pkgmap
Encoding:
Text File  |  1998-10-20  |  19.0 KB  |  330 lines

  1.  
  2.  
  3.  
  4. ppppkkkkggggmmmmaaaapppp((((4444))))                                                            ppppkkkkggggmmmmaaaapppp((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_kkkk_gggg_mmmm_aaaa_pppp - package contents description file
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      _pppp_kkkk_gggg_mmmm_aaaa_pppp is an ASCII file that provides a complete listing of the package
  13.      contents.  It is automatically generated by _pppp_kkkk_gggg_mmmm_kkkk(1) using the
  14.      information in the _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee file.
  15.  
  16.      Each entry in _pppp_kkkk_gggg_mmmm_aaaa_pppp describes a single ``deliverable object file.''  A
  17.      deliverable object file includes shell scripts, executable objects, data
  18.      files, directories, and so on.  The entry consists of several fields of
  19.      information, each field separated by a space.  The fields are described
  20.      below and must appear in the order shown.
  21.  
  22.      _p_a_r_t      An optional field designating the part number in which the
  23.                object resides.  A part is a collection of files, and is the
  24.                atomic unit by which a package is processed.  A developer can
  25.                choose the criteria for grouping files into a part (for
  26.                example, based on class).  If no value is defined in this
  27.                field, part 1 is assumed.
  28.  
  29.      _f_t_y_p_e     A one-character field that indicates the file type.  Valid
  30.                values are:
  31.  
  32.                    _ffff   a standard executable or data file
  33.                    _eeee   a file to be edited upon installation or removal
  34.                    _vvvv   volatile file (one whose contents are expected to
  35.                        change)
  36.                    _dddd   directory
  37.                    _xxxx   an exclusive directory (See NOTES)
  38.                    _llll   linked file
  39.                    _pppp   named pipe
  40.                    _cccc   character special device
  41.                    _bbbb   block special device
  42.                    _iiii   installation script or information file
  43.                    _ssss   symbolic link
  44.  
  45.      _c_l_a_s_s     The installation class to which the file belongs.  This name
  46.                must contain only alphanumeric characters and be no longer than
  47.                12 characters.  It is not specified if the _ffff_tttt_yyyy_pppp_eeee is _iiii
  48.                (information file).
  49.  
  50.      _p_a_t_h_n_a_m_e  The pathname where the object will reside on the target
  51.                machine, such as _////_uuuu_ssss_rrrr_////_bbbb_iiii_nnnn_////_mmmm_aaaa_iiii_llll.  Relative pathnames (those that
  52.                do not begin with a slash) indicate that the file is
  53.                relocatable.
  54.  
  55.                For linked files (_ffff_tttt_yyyy_pppp_eeee is either _llll or _ssss), pathname must be in
  56.                the form of _p_a_t_h_1_====_p_a_t_h_2, with _p_a_t_h_1 specifying the destination
  57.                of the link and _p_a_t_h_2 specifying the source of the link.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppkkkkggggmmmmaaaapppp((((4444))))                                                            ppppkkkkggggmmmmaaaapppp((((4444))))
  71.  
  72.  
  73.  
  74.                For symbolically linked files, when _p_a_t_h_2 is a relative
  75.                pathname starting with _p_a_t_h_2 is not considered relocatable.
  76.                For example, if you enter a line such as
  77.                     _ssss _////_ffff_oooo_oooo_////_bbbb_aaaa_rrrr_////_eeee_tttt_cccc_////_mmmm_oooo_uuuu_nnnn_tttt_====_...._...._////_uuuu_ssss_rrrr_////_ssss_bbbb_iiii_nnnn_////_mmmm_oooo_uuuu_nnnn_tttt
  78.                _p_a_t_h_1 (_////_ffff_oooo_oooo_////_bbbb_aaaa_rrrr_////_eeee_tttt_cccc_////_mmmm_oooo_uuuu_nnnn_tttt) will be a symbolic link to
  79.                _...._...._////_uuuu_ssss_rrrr_////_ssss_bbbb_iiii_nnnn_////_mmmm_oooo_uuuu_nnnn_tttt.
  80.  
  81.                _p_a_t_h_n_a_m_e may contain variables which support relocation of the
  82.                file.  A _$$$$_p_a_r_a_m_e_t_e_r may be embedded in the pathname structure.
  83.                _$$$$_BBBB_AAAA_SSSS_EEEE_DDDD_IIII_RRRR can be used to identify the parent directories of the
  84.                path hierarchy, making the entire package easily relocatable.
  85.                Default values for _p_a_r_a_m_e_t_e_r and _BBBB_AAAA_SSSS_EEEE_DDDD_IIII_RRRR must be supplied in
  86.                the _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo file and may be overridden at installation.
  87.  
  88.                Special characters, such as an equal sign (_====), are included in
  89.                pathnames by surrounding the entire pathname in single quotes
  90.                (as in, for example, _''''_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_~~~~_====_'''').
  91.  
  92.      _m_a_j_o_r     The major device number.  The field is only specified for block
  93.                or character special devices.
  94.  
  95.      _m_i_n_o_r     The minor device number.  The field is only specified for block
  96.                or character special devices.
  97.  
  98.      _m_o_d_e      The octal mode of the file (for example, 0664).  A question
  99.                mark (?) indicates that the mode will be left unchanged,
  100.                implying that the file already exists on the target machine.
  101.                This field is not used for linked files, packaging information
  102.                files or non-installable files.
  103.  
  104.      _o_w_n_e_r     The owner of the file (for example, _bbbb_iiii_nnnn or _rrrr_oooo_oooo_tttt).  The field is
  105.                limited to 14 characters in length.  A question mark (?)
  106.                indicates that the owner will be left unchanged, implying that
  107.                the file already exists on the target machine.  This field is
  108.                not used for linked files or non-installable files.  It is used
  109.                optionally with a package information file.  If used, it
  110.                indicates with what owner an installation script will be
  111.                executed.
  112.  
  113.                Can be a variable specification in the form of _$$$$_[[[[_AAAA_----_ZZZZ_]]]].  Will be
  114.                resolved at installation time (see NOTES).
  115.  
  116.      _g_r_o_u_p     The group to which the file belongs (for example, "bin" or
  117.                "sys").  The field is limited to 14 characters in length.  A
  118.                question mark (?) indicates that the group will be left
  119.                unchanged, implying that the file already exists on the target
  120.                machine.  This field is not used for linked files or non-
  121.                installable files.  It is used optionally with a package
  122.                information file.  If used, it indicates with what group an
  123.                installation script will be executed.
  124.  
  125.  
  126.  
  127.  
  128.                                                                         PPPPaaaaggggeeee 2222
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135. ppppkkkkggggmmmmaaaapppp((((4444))))                                                            ppppkkkkggggmmmmaaaapppp((((4444))))
  136.  
  137.  
  138.  
  139.                Can be a variable assignment in the form of _$$$$_[[[[_AAAA_----_ZZZZ_]]]].  Will be
  140.                resolved at installation time (see NOTES).
  141.  
  142.      _s_i_z_e      The actual size of the file in bytes.  This field is not
  143.                specified for named pipes, special devices, directories or
  144.                linked files.
  145.  
  146.      _c_k_s_u_m     The checksum of the file contents.  This field is not specified
  147.                for named pipes, special devices, directories or linked files.
  148.  
  149.      _m_o_d_t_i_m_e   The time of last modification, as reported by the _ssss_tttt_aaaa_tttt(2)
  150.                function call.  This field is not specified for named pipes,
  151.                special devices, directories or linked files.
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.                                                                         PPPPaaaaggggeeee 3333
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201. ppppkkkkggggmmmmaaaapppp((((4444))))                                                            ppppkkkkggggmmmmaaaapppp((((4444))))
  202.  
  203.  
  204.  
  205.      Each _pppp_kkkk_gggg_mmmm_aaaa_pppp must have one line that provides information about the number
  206.      and maximum size (in 512-byte blocks) of parts that make up the package.
  207.      This line is in the following format:
  208.  
  209.                _::::_n_u_m_b_e_r__o_f__p_a_r_t_s  _m_a_x_i_m_u_m__p_a_r_t__s_i_z_e
  210.  
  211.      Lines that begin with ``_####'' are comment lines and are ignored.
  212.  
  213.      When files are saved during installation before they are overwritten,
  214.      they are normally just copied to a temporary pathname.  However, for
  215.      files whose mode includes execute permission (but which are not
  216.      editable), the existing version is linked to a temporary pathname and the
  217.      original file is removed.  This allows processes which are executing
  218.      during installation to be overwritten.
  219.  
  220. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  221.      The following is an example of a _pppp_kkkk_gggg_mmmm_aaaa_pppp file.
  222.  
  223.                _::::_2222 _5555_0000_0000
  224.                _1111 _iiii _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo _2222_3333_7777 _1111_1111_7777_9999 _5555_4444_1111_2222_9999_6666_6666_7777_2222
  225.                _1111 _bbbb _cccc_llll_aaaa_ssss_ssss_1111 _////_dddd_eeee_vvvv_////_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee _1111_7777 _1111_3333_4444 _0000_6666_4444_4444 _rrrr_oooo_oooo_tttt _oooo_tttt_hhhh_eeee_rrrr
  226.                _1111 _cccc _cccc_llll_aaaa_ssss_ssss_1111 _////_dddd_eeee_vvvv_////_rrrr_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee _1111_7777 _1111_3333_4444 _0000_6666_4444_4444 _rrrr_oooo_oooo_tttt _oooo_tttt_hhhh_eeee_rrrr
  227.                _1111 _dddd _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn
  228.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_IIII_NNNN_SSSS_TTTT_AAAA_LLLL_LLLL _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _1111_1111_1111_0000_3333 _1111_7777_9999_5555_4444 _5555_4444_1111_2222_9999_5555_5555_3333_5555
  229.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_RRRR_EEEE_MMMM_OOOO_VVVV_EEEE _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _3333_2222_1111_4444 _5555_0000_2222_3333_7777 _5555_4444_1111_2222_9999_5555_5555_4444_1111
  230.                _1111 _llll _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_UUUU_NNNN_IIII_NNNN_SSSS_TTTT_AAAA_LLLL_LLLL_====_bbbb_iiii_nnnn_////_RRRR_EEEE_MMMM_OOOO_VVVV_EEEE
  231.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_aaaa _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _3333_5555_8888_0000 _6666_0000_3333_2222_5555 _5555_4444_1111_2222_9999_5555_5555_6666_7777 _2222 _NNNN_UUUU_LLLL_LLLL
  232.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_bbbb _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_9999_1111_0000_7777 _5555_1111_2222_5555_5555 _5555_4444_1111_4444_3333_8888_3333_6666_8888
  233.                _1111 _ffff _cccc_llll_aaaa_ssss_ssss_1111 _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_cccc _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_5555_5555_9999_9999 _2222_6666_0000_4444_8888 _5555_4444_1111_2222_9999_5555_5555_9999_9999
  234.                _1111 _ffff _cccc_llll_aaaa_ssss_ssss_1111 _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_dddd _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_6666_4444_8888 _8888_4444_7777_3333 _5555_4444_1111_4444_6666_1111_2222_3333_8888
  235.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_eeee _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_0000_5555_0000_1111 _1111_2222_6666_4444 _5555_4444_1111_2222_9999_5555_6666_2222_2222
  236.                _1111 _ffff _cccc_llll_aaaa_ssss_ssss_2222 _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_ffff _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _2222_3333_4444_5555 _3333_5555_8888_8888_9999 _5555_4444_1111_2222_9999_5555_5555_7777_4444
  237.                _1111 _ffff _nnnn_oooo_nnnn_eeee _bbbb_iiii_nnnn_////_cccc_mmmm_dddd_gggg _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_1111_1111_8888_5555 _4444_7777_6666_5555_3333 _5555_4444_1111_4444_6666_1111_2222_4444_2222
  238.                _2222 _dddd _cccc_llll_aaaa_ssss_ssss_2222 _dddd_aaaa_tttt_aaaa _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn
  239.                _2222 _pppp _cccc_llll_aaaa_ssss_ssss_1111 _dddd_aaaa_tttt_aaaa_////_aaaa_pppp_iiii_pppp_eeee _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _oooo_tttt_hhhh_eeee_rrrr
  240.                _2222 _dddd _nnnn_oooo_nnnn_eeee _llll_oooo_gggg _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _1111 _NNNN_UUUU_LLLL_LLLL _NNNN_UUUU_LLLL_LLLL
  241.                _2222 _vvvv _nnnn_oooo_nnnn_eeee _llll_oooo_gggg_////_llll_oooo_gggg_ffff_iiii_llll_eeee _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn _4444_1111_8888_1111_5555 _4444_7777_5555_6666_3333 _5555_4444_1111_4444_6666_1111_3333_3333_3333
  242.                _2222 _dddd _nnnn_oooo_nnnn_eeee _ssss_aaaa_vvvv_eeee _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn
  243.                _2222 _dddd _nnnn_oooo_nnnn_eeee _ssss_pppp_oooo_oooo_llll _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn
  244.                _2222 _dddd _nnnn_oooo_nnnn_eeee _tttt_mmmm_pppp _0000_7777_5555_5555 _rrrr_oooo_oooo_tttt _bbbb_iiii_nnnn
  245.  
  246. NNNNOOOOTTTTEEEESSSS
  247.      The _pppp_kkkk_gggg_mmmm_aaaa_pppp file may contain only one entry per unique pathname.
  248.  
  249.      An exclusive directory type (_f_i_l_e) type _xxxx) specifies directories that are
  250.      constrained to contain only files that appear in the installation
  251.      software database (_////_vvvv_aaaa_rrrr_////_ssss_aaaa_dddd_mmmm_////_iiii_nnnn_ssss_tttt_aaaa_llll_llll_////_cccc_oooo_nnnn_tttt_eeee_nnnn_tttt_ssss).  If there are other files
  252.      in the directory, they will be removed by _pppp_kkkk_gggg_cccc_hhhh_kkkk _----_ffff_xxxx as described on the
  253.      _pppp_kkkk_gggg_cccc_hhhh_kkkk(1M) manual page.
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.                                                                         PPPPaaaaggggeeee 4444
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267. ppppkkkkggggmmmmaaaapppp((((4444))))                                                            ppppkkkkggggmmmmaaaapppp((((4444))))
  268.  
  269.  
  270.  
  271.      Variable specifications for the _o_w_n_e_r and _g_r_o_u_p fields are defined in the
  272.      _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo file.  For example, _o_w_n_e_r could be _$$$$_OOOO_WWWW_NNNN_EEEE_RRRR in the _pppp_kkkk_gggg_mmmm_aaaa_pppp file; if
  273.      _OOOO_WWWW_NNNN_EEEE_RRRR is defined as _rrrr_oooo_oooo_tttt in the _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo file, _$$$$_OOOO_WWWW_NNNN_EEEE_RRRR will get the value
  274.      _rrrr_oooo_oooo_tttt when the file is installed.
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.                                                                         PPPPaaaaggggeeee 5555
  327.  
  328.  
  329.  
  330.